<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>会员登录</title>
     <script type="text/javascript" src="/SVN/DR/Public/Js/jquery-validation-1.14.0/lib/jquery-1.11.1.js"></script>
    <script type="text/javascript" src="/SVN/DR/Public/Js/jquery-validation-1.14.0/dist/jquery.validate.js"></script>
<!--     <script type="text/javascript" src="/SVN/DR/Public/Js/home/jquery-1.11.3.js"></script> -->
    <script type="text/javascript" src="/SVN/DR/Public/Js/home/common.js"></script>
    <script type="text/javascript" src="/SVN/DR/Public/Js/home/banner.js"></script>

    <link rel="stylesheet" type="text/css" href="/SVN/DR/Public/Css/home/style.css" />
</head>
<body>
<!--引入头部文件-->
<!-- start of 头部导航-->
<header class="cart_head">
    <div class="w1000">
        <div class="dr_logo fl">
            <a href="/SVN/DR/index.php/Home/Index/index"><img src="/SVN/DR/Public/Images/home/logo.png" alt=""></a>
        </div>
        <div class="dr_member fr">
            <div class="drmember_sec">
                <div class="dr_member-left fl">
                    <a href="/SVN/DR/index.php/Home/Index/login">登录</a>
                    <a href="/SVN/DR/index.php/Home/Index/register" class="drtojoin">注册</a>
                </div>
                <div class="dr_member-left fl">
                    <i>
                        <img src="/SVN/DR/Public/Images/home/telleft.png">
                        400 01 13520
                    </i>
                </div>
                <div class="dr_member-left fl">
                    <a href="/SVN/DR/index.php/Home/Help/index" target="_top" class="help-right">帮助中心<span></span></a>
                </div>
            </div>
        </div>
    </div>
</header>
<!--end of 头部导航-->
<div class="dr_banner">
    <!--通行证操作区-->
    <div class="dr_actionMain w1000">
        <div class="dr_passprt">
            <form id="loginform" action="/SVN/DR/index.php/Home/Index/loginAction" method="post">
                <div class="dr_form">
                    <h3>会员登录</h3>
                    <div class="dr_minAction">
                        <div class="errorMsg" id="loginError" style=""></div>
                        <label for="tel"><span></span></label>
                        <input class="ipTxt ico-user" value="" id="tel" name="tel" placeholder="请输入您的手机号码" type="text" maxlength="11"><div></div>
                        <input class="ipTxt ico-pwd" value="" id="password" name="password" placeholder="请输入密码" type="password">
                        <!-- <p class="dr_actionPwd">
                            <a class="fr" href="#">忘记密码?</a>
                            <input id="isRemember" type="checkbox">
                            <label for="isRemember">记住密码</label>
                        </p> -->
                        <input name="forward" value="" type="hidden">
                    </div>
                    <div id="login" class="dr_Btns">
                        <!--jquery登录验证-->
                        <input type='submit' class="defaultBtn focus" value='登陆' id='submit'></a>
                        <a class="colorBtn left" href="/SVN/DR/index.php/Home/Index/register">注册</a>
                    </div>
                </div>
                
            </form>
        </div>
    </div>

    <!--通行证操作区 end-->
    <!--banner轮播图-->
    <ul class="dr_bannerul fix" id="drHomeBan">
        <li style="display: block;">
            <a href="javascript:void(0);" target="_top">
                <img src="/SVN/DR/Public/Images/home/login.jpg">
            </a>
        </li>
        <li style="display: none;">
            <a href="javascript:void(0);" target="_top">
                <img src="/SVN/DR/Public/Images/home/login2.jpg">
            </a>
        </li>
    </ul>
    <!--banner轮播图 end-->
    <!--banner轮播图底部显示样式-->
    <div class="drbanner_xdcort">
        <ul class="drbanner_xd" id="banBtns">
            <li class="drbanner_click"><span></span></li>
            <li class="nobg"><span></span></li>
        </ul>
    </div>
    <!--banner轮播图底部显示样式 end-->
</div>
<!--引入底部文件-->
        <!--底部-->
        <div class="dr_footer">
            <div class="dr_footer-top"></div>
            <!--底部图标-->
            <ul class="dr_footer-icon w1000">
                <li>
                    <a rel="nofollow" href="javascript:void(0)">
                        <i class="footer-icon1"></i>
                        <span>权威认证</span>
                    </a>
                </li>
                <li>
                    <a rel="nofollow" href="javascript:void(0)">
                        <i class="footer-icon2"></i>
                        <span>一钻双证</span>
                    </a>
                </li>
                <li>
                    <a rel="nofollow" href="javascript:void(0)">
                        <i class="footer-icon3"></i>
                        <span>终生保养</span>
                    </a>
                </li>
                <li>
                    <a rel="nofollow" href="javascript:void(0)">
                        <i class="footer-icon4"></i>
                        <span>以小换大</span>
                    </a>
                </li>
                <li>
                    <a rel="nofollow" href="javascript:void(0)">
                        <i class="footer-icon5"></i>
                        <span>15天退换</span>
                    </a>
                </li>
                <li>
                    <a rel="nofollow" href="javascript:void(0)">
                        <i class="footer-icon6"></i>
                        <span>全国免运费</span>
                    </a>
                </li>
                <li>
                    <a rel="nofollow" href="javascript:void(0)">
                        <i class="footer-icon7"></i>
                        <span>全程保险</span>
                    </a>
                </li>
            </ul>
            <!--底部图标end-->
            <!--灰色区域-->
            <!--<div class="dr_gray">
                &lt;!&ndash;帮助&ndash;&gt;
                <div class="dr_help w1000 fix">
                    <div class="dr_help-all fl">
                        <div class="dr_help-top">
                            <div class="dr_help-left dr_help-gz fl" id="dr_help-gz">
                                关注我们
                                &lt;!&ndash;分享按钮&ndash;&gt;
                                <div class="comShare">
                                    <a rel="nofollow" class="shareWeibo" target="_top"
                                       href="javascript:void(0)"></a>
                                    <a rel="nofollow" class="shareQzone" target="_top"
                                       href="javascript:void(0)"></a>
                                    <a rel="nofollow" class="shareQweibo" target="_top"
                                       href="javascript:void(0)"></a>
                                    <a rel="nofollow" class="shareRenren" target="_top"
                                       href="javascript:void(0)"></a>
                                    <a rel="nofollow" class="shareDouban" target="_top"
                                       href="javascript:void(0)"></a>
                                    <img src="/SVN/DR/Public/Images/home/ew.jpg">
                                </div>
                                &lt;!&ndash;分享按钮end&ndash;&gt;
                            </div>
                            <a rel="nofollow" target="_top" class="dr_help-left" href="javascript:void(0)">真爱查询</a>
                            <a rel="nofollow" target="_top" class="dr_help-left" href="javascript:void(0)">实体店免费预约</a>
                            <a rel="nofollow" class="dr_help-left" href="javascript:void(0)">在线客服</a>
                        </div>
                    </div>
                    <div class="dr_help-all fl">
                        <p>24小时全国免费服务热线</p>
                        <img src="/SVN/DR/Public/Images/home/tel.png">
                    </div>
                </div>
                &lt;!&ndash;帮助end&ndash;&gt;
            </div>-->
            <!--灰色区域end-->
            <!--黑色区域-->
            <div class="dr_black">
                <div class="w1000">
                    <!--服务-->
                    <!--<ul class="dr_servie">
                        <li>
                            <h4>关于我们</h4>
                            <a rel="nofollow" target="_top" href="javascript:void(0)">权威认证</a>
                            <a rel="nofollow" target="_top" href="javascript:void(0)">合作专区</a>
                            <a rel="nofollow" target="_top" href="javascript:void(0)">加入我们</a>
                        </li>
                        <li>
                            <h4>购物指南</h4>
                            <a rel="nofollow" target="_top" href="javascript:void(0)">购买流程</a>
                            <a rel="nofollow" target="_top" href="javascript:void(0)">支付方式</a>
                            <a rel="nofollow" target="_top" href="javascript:void(0)">配送流程</a>
                        </li>
                        <li>
                            <h4>售后服务</h4>
                            <a rel="nofollow" target="_top" href="javascript:void(0)">退货流程</a>
                            <a rel="nofollow" target="_top" href="javascript:void(0)">办理售后</a>
                            <a rel="nofollow" target="_top" href="javascript:void(0)">15天退换</a>
                        </li>
                        <li>
                            <h4>帮助中心</h4>
                            <a rel="nofollow" target="_top" href="javascript:void(0)">注册流程</a>
                            <a rel="nofollow" target="_top"
                               href="javascript:void(0)">投诉建议</a>
                            <a rel="nofollow" target="_top" href="javascript:void(0)">网站地图</a>
                        </li>
                        <li>
                            <h4>服务条款</h4>
                            <a rel="nofollow" target="_top" href="javascript:void(0)">终生保养</a>
                            <a rel="nofollow" target="_top" href="javascript:void(0)">注册协议</a>
                            <a rel="nofollow" target="_top" href="javascript:void(0)">隐私声明</a>
                        </li>
                        <li>
                            <h4>DR资讯</h4>
                            <a target="_top" href="javascript:void(0)">钻石百科</a>
                            <a target="_top" href="javascript:void(0)">产品百科</a>
                            <a target="_top" href="javascript:void(0)">求婚指南</a>
                        </li>
                    </ul>-->
                    <!--服务end-->
                    <!--声明-->
                    <div class="dr_statement">
                        <p>Copyright ? 2006-2015 www.darryring.com 戴瑞珠宝 All Rights Reserved. 粤ICP备11012085号-2</p>
                        <p>ICP经营许可证粤B2-20140279 | 中国互联网违法信息举报中心 | 中国公安网络110报警服务 | 本网站提供所售商品的正式发票 </p>
                    </div>
                    <!--声明end-->

                </div>
            </div>
            <!--黑色区域end-->
        </div>
        <!--底部end-->
  


</body>
</html>

<!--输入文本jquery检测-->
<script type="text/javascript">
 $(function(){
 
    $('#loginform').validate({
      rules: {
        tel: {
          required: true,
          minlength: 11,
          // 自定义方法：校验手机号在数据库中是否存在
          // checkPhoneExist : true,
          isMobile: true,

        },
        password:{
            required:true,
            minlength: 6,
        },
      },
      messages:{
        tel : {
          required : "* 请输入手机号！",
          minlength : "* 确认手机不能小于11个字符！",
          isMobile : "* 请正确填写您的手机号码！",
        },
         password:{
            required:"* 请输入您的密码！",
             minlength: "",
        },

      }

    });
    jQuery.validator.addMethod("isMobile", function(value, element) {
      var length = value.length;
      var mobile = /^1[3|4|5|7|8]\d{9}$/;
      return (length == 11 && mobile.exec(value))? true:false;
    }, "请正确填写您的手机号码");

  });

</script>

</body>
</html>